
            <notempty name="list2">
                <form action="" method="post" id="tempsForm">
                    <div class="list-title">
                        <span class="title">模板名</span>
                        <span class="frontpage">缩略图</span>
                        <span class="price">价格</span>
                        <if condition="$_SESSION['type'] eq 1">
                            <span class="count">用户名</span>
                        </if>
                        <if condition="$_SESSION['type'] eq 2">
                            <span class="count" style="width:100px;">设计师</span>
                            <else /><span class="count" style="width:100px;">掌柜</span>
                        </if>
                        <span class="rate">返现比例</span>
                        <span class="status" <if condition="$_SESSION['type'] eq 2">style="width:120px;"</if>>状态</span>
                        <span class="op" style="width:100px;">管理</span>
                    </div>
                    <foreach name="list2" item="v" key="k">
                        <div class="temp-item" style="position: relative;" <if condition="$_SESSION['type'] eq 1">id="q{$v.id}"<else />id="w{$v.id}"</if>>
                            <span class="title"><a target="_blank" title="访问模板" href="http://<if condition='$temps2[$k][0][type] eq 1'>zxn<else/>zx</if>.taobao.com/detail.htm?id={$temps2.$k.0.id}">{$v.title}</a></span>
                            <span class="frontpage"><img src="{$temps2.$k.0.frontpage}" width="80" /></span>
                            <span class="price">{$temps2.$k.0.price}</span>
                            <if condition="$_SESSION['type'] eq 1">
                                <span class="count" id="zgname">{$v.name}</span>
                            </if>
                            <span class="count" style="width:100px;">
                                <if condition="$_SESSION['type'] eq 2">
                                    <h4>{$temps2.$k.0.ww}</h4>
                                    <a href="http://amos.im.alisoft.com/msg.aw?spm=0.0.0.0.UZIR91&amp;v=2&amp;uid={$temps2.$k.0.ww}&amp;s=1&amp;site=cntaobao&amp;charset=utf-8" target="_blank" data-spm-anchor-id="0.0.0.0">
                                        <img border="0" alt="" src="http://amos.im.alisoft.com/online.aw?v=2&amp;uid={$temps2.$k.0.ww}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8">
                                    </a>
                                </if>
                                <if condition="$_SESSION['type'] eq 1">
                                    <if condition="$v['wwname'] eq null">等待用户的添加旺旺<else />
                                        <h4>{$v.wwname}</h4>
                                        <a href="http://amos.im.alisoft.com/msg.aw?spm=0.0.0.0.UZIR91&amp;v=2&amp;uid={$v.wwname}&amp;s=1&amp;site=cntaobao&amp;charset=utf-8" target="_blank" data-spm-anchor-id="0.0.0.0">
                                            <img border="0" alt="" src="http://amos.im.alisoft.com/online.aw?v=2&amp;uid={$v.wwname}&amp;site=cntaobao&amp;s=1&amp;charset=utf-8">
                                        </a>
                                    </if>
                                </if>
                            </span>
                            <span class="rate" ><em id="rate">{$temps2[$k][0]['rate']*100}</em>%</span>
                            <if condition="$_SESSION['type'] eq 2">
                                <span class="status" id="qu{$v.indent}" <if condition="$_SESSION['type'] eq 2">style="width:120px;color:red;"<else />style="color:red;"</if>">
                                    <if condition="$v.status eq 1">未确认<elseif condition="$v.status eq 2"/>等待设计师确认<else />完成</if>
                                </span>
                                <else />
                                <span class="status"  id="query{$v.indent}" <if condition="$_SESSION['type'] eq 2">width:120px;color:red;<else />style="color:red;"</if>><if condition="$v.status eq 1">购买未确认<elseif condition="$v.status eq 2"/>设计师未确认<else />完成</if></span>
                            </if>
                            <if condition="$_SESSION['type'] eq 2">
                                <span class="op" style="width:100px;">  
                                    <span id="q{$v.indent}"  >
                                        <if condition="$v['status'] eq 1"><a href="javascript:;" onclick="ws('{$v.indent}')">确认</a><else />确认</if>
                                    </span>
                                    <if condition="$v['status'] neq 3"><a href="javascript:;" onclick="dell('{$v.id}',0)" title="点击删除">删除</a></if>
                                </span>
                                <else />
                                <span class="op" style="width:100px;">
                                    <span id="query1{$v.indent}">
                                        <if condition="$v.status eq 2"><a href="javascript:;" onclick="qu('{$v.indent}','{$v.wwname}','{$temps2.$k.0.id}',this)">确认</a><else />确认</if>
                                    </span>
                                    <if condition="$v['status'] neq 3"><a href="javascript:;" onclick="dell('{$v.id}',1)" title="点击删除">删除</a></if>
                                </span>
                            </if>
                        </div>    
                    </foreach>
                    <div class="pages" style="margin:10px 0;">{$page2}</div>
                </form>
                <else/>
                <div class="no-jilu">
                    暂无模板记录    
                </div>
            </notempty>
